, the gateway is 192.168.1.254, the IP of the remote host Turtlebot is 192.168.1.103 Local host IP is 192.168.1.100 (NIC is eth0), The local host launches a Docker container named Rostest2 and configures it with a local IP of 192.168.1.97/24. Because the default mechanism of Docker is not required to provide a network for-DOCKER0, the--net=none parameter is used when the container is started by mirroring. The process is as follows:
(1) Launch a Docker
test, there will be a xserver error problem, in addition to the previous settings, but also to execute the command below
$xhost +local:root # Executes in another terminal window of the host
second, the IP designation of ROS container
Using the Pipework Network Setup tool, it is easy to set the container IP (note the need to set up with local Turtlebot on a LAN for easy communication), the main steps are as follows:The author's local network basic p
Before all the use of keyboard control Turtlebot walk, so want to write a paragraph code can let Turtlebot himself, after all, the future work is to let the robot on the map can achieve self-path planning to reach the designated destination.
After starting Turtlebot, in the command line Rostopic list We can see all the current topic, as shown below
We cmd_vel
In order to control Turtlebot's walk autonomously, we need to implement it in code. I. Preparation
In this process, we need to know which topic to send a message to. The internet says it's cmd_vel, but I didn't try. We can use the Rostopic list to see a listing of the current output activity topics. We can see that/cmd_vel_mux/input/teleop is what we need, the code is as follows:
young@young-lenovo:~$ rostopic List/capability_server/bonds/capability_server/events/cmd_vel_mux/active/cmd_vel_mux/i
Use the Xbox handle to control the car robot steps (take the Mrobot package as an example)
1. Install the Xbox360 handle driver
sudo apt-get install ros-indigo-joystick-drivers2. Test handle (general connection is JS0)
ls/dev/input/May be js0 One, it is possible to js0,js1 two, there may be js0-3 four, in the test can determine which of the handle
The first method:
Use JSTEST-GTK to test your handle
sudo apt-get install jstest-gtk
JSTEST-GTK
After entering the appeal order, the graphical
control Turtlebot Movement with Interactive_makers
Interactive_makers is a virtual control tool developed by Willow Garage Company, which can be used to control the motion of the actual robot by the operation of the mouse in the virtual environment.
Reference:REF1:
Http://wiki.ros.org/turtlebot_interactive_markers/Tutorials/UsingTurtlebotInteractiveMarkers
(Groovy version)
= = = Rviztutorialsinteractive markers:getting Started = = =
Ref2:
http:
Opencv experiences (1)
The second chapter of learning opencv mainly introduces some common and interesting functions and data types, so that students at the beginning are more interested in image processing, although I do not understand the internal experiment of the function and the meaning of some defined constants, I am still very happy after learning Chapter 2. At least I know some basics of image processing, such as contour processing;
Knowledge
Modulo 2 is a binary algorithm, the core ofCRC calibration technology, so before we analyze the CRC algorithm, we must grasp the rules of modulo 2 operation. In the same way as arithmetic, modulo 2 also includes modulo 2 plus, modulo 2 minus, modulo
IO redirection:Output REDIRECT:>features: Overwrite outputOutput REDIRECT:>>Features: Append output# set-csuppresses overwrite output redirection to existing files;You can use the force overwrite output at this time: >|# set +cTurn off the above featuresError output stream redirection: 2> 2>> will only output the wrong information to the specified locationmerge Normal output stream and error output stream:(
page's logic. The JSP is compiled into a servlet (the JSP compiles to a servlet), as we have defined clockservlet, which is equivalent to writing the HTML section and evaluating the Java section (that's equivalent to writing Out the HTML portions,and evaluating the Java portions). In a sense, JSPs is just another way to write the servlet code.JSPs is often criticized for being too powerful. Because the entire Java language can be obtained from a JSP, there is a risk that the business logic may
The Art of Atitit MIDI Art Tech MIDI
Directory
1. MIDI 1
2.4 Constituent Structure 2
2.1.▪ Sequencer 2
2.2.▪ Interface 2
2.3.▪ standard common MIDI standard by GM, GS, XG 2
3. List of 128 Instruments 2
3.1. Category Music song category "Children's song popular songs 3
3.2.
2-2. Next is the time (15), and 2-2 is the time 15
Sometimes people use four digits to represent a time. For example, 1106 represents. Now, your program calculates the end time based on the start time and the elapsed time. Read two numbers. The first number represents the current time with four such digits, and the sec
SQL Server 2: full-text search (2)
Here we will mainly talk about the contains function used in full-text search, extract articles from others, and share it with you.
Suppose there is a table named students, where the address is a column for full text search.1. query student addresses in Beijing
Select student_id, student_name
From students
Wherecontains (address, 'beijing ')
Remark: Beijing is a word that
Today I learned the Example 2-2 of "Advanced Programming in UNIX environment", but I am very confused.
I created a directory named sample2_2, put the source code in it, compile it, and generate the sample2_2 file. Then copy pathconf. sym and sysconf. sym to this directory.
Run the following command:
./Sample2_2 pathconf. sym
The result is as follows:
No symbol for arg_max
Arg_max = 2621440
Max_canon
There are four threads of 1, 2, 3, 4.The function of thread 1 is output 1,The function of thread 2 is output 2, etc... There are now four file ABCD.The initial is empty.Now you want four files to appear in the following format:A:1 2 3 4 1 2 ....B:
2-11.A program with a text menu. Write a program with a text menu. The menu items are as follows: (1) take the sum of the five numbers; (2) Take the average of the five numbers... (X) and exit. The user makes a selection and then executes the corresponding functions. The program ends when the user selects to exit. This program is useful because you do not need to restart your script over and over again duri
Ping An Technology Mobile Development Team 2 technology weekly (Issue 2), Team 2 stage 13thPing An Technology Mobile Development Team 2 technology weekly (Issue 1)
@ Author ASCE1885 Github short book Weibo CSDN
Industry News 1) Android has exposed severe security vulnerabilities and 95% of devices are affected
Zimpe
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.